package com.lhkj.ct.meta.modules.psychology.model.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author jobob
 * @since 2023-10-23
 */
@Data
@Builder
@ApiModel(value="TblScalePsyImport对象", description="")
public class TblScalePsyImport implements Serializable {

    @Tolerate
    public TblScalePsyImport() {
    }

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "记录id")
    private String id;

    @ApiModelProperty(value = "档案id")
    private String patId;

    @ApiModelProperty(value = "姓名")
    private String patName;

    @ApiModelProperty(value = "性别")
    private String patSex;

    @ApiModelProperty(value = "年龄")
    private String patAge;

    @ApiModelProperty(value = "报告id")
    private String rId;

    @ApiModelProperty(value = "量表名称")
    private String scaleName;

    @ApiModelProperty(value = "状态 -1.文件异常 0.失败 1.成功")
    private Integer status;

    @ApiModelProperty(value = "错误信息")
    private String errMsg;

    @ApiModelProperty(value = "文件路径")
    private String fileUrl;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "操作人")
    private String createBy;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "操作时间")
    private LocalDateTime createTime;


}
